import request from '@/utils/request'

export function queryDetailInfoByPostId(data) {
    return request({
        url: `/post/post/query/detailInfoByPostId/${data}`,
        method: 'get',
    })
}

export function deletePostById(data) {
    return request({
        url: `/post/post/delete/${data}`,
        method: 'delete',
    })
}